package com.powerhua.core.base.bean;

import java.util.List;
import java.util.Map;

/**
 *
 * @author Brian.Xie
 */
public interface IModel {

    public String getModelId(); 
    public void setModelId(String modelId) ;
    public List<IModel> getSubModels(); 
    public void setSubModels(List<IModel> subModels); 
    public Map<String, IField> getFields();
    public void setFields(Map<String, IField> fields);
    public void setField(String name, IField field); 
    public void setModelTable(String modelTable);
    public String getModelTable();
    public IField getPk();
    public void setPk(IField pk);
    public void setFieldNames(List<String> fieldNames);
    public List<String> getFieldNames();
    public void addFieldName(String fieldName);

}
